package org.plex.form.imp;

import java.io.Serializable;
import java.util.Map;

import org.plex.form.FormServiceInvokeResponse;

import com.adobe.idp.Document;

public class FormServiceInvokeResponseImp implements FormServiceInvokeResponse,
		Serializable
{

	private com.adobe.idp.taskmanager.dsc.client.task.FormServiceInvokeResponse	formServiceInvokeResponse;

	public FormServiceInvokeResponseImp(
			com.adobe.idp.taskmanager.dsc.client.task.FormServiceInvokeResponse formServiceInvokeResponse)
			throws NullPointerException
	{
		if (null == formServiceInvokeResponse)
		{
			throw new NullPointerException();
		}
		this.formServiceInvokeResponse = formServiceInvokeResponse;
	}

	public Document getResultingDocument()
	{
		// TODO Auto-generated method stub
		return this.formServiceInvokeResponse.getResultingDocument();
	}

	public Map getResultingMap()
	{
		// TODO Auto-generated method stub
		return formServiceInvokeResponse.getResultingMap();
	}

	public boolean isDocumentForm()
	{

		return formServiceInvokeResponse.isDocumentForm();
	}

	public void setFormServiceInvokeResponse(
			com.adobe.idp.taskmanager.dsc.client.task.FormServiceInvokeResponse formServiceInvokeResponse)
	{
		this.formServiceInvokeResponse = formServiceInvokeResponse;
	}

	public com.adobe.idp.taskmanager.dsc.client.task.FormServiceInvokeResponse getFormServiceInvokeResponse()
	{
		return formServiceInvokeResponse;
	}

}
